<%-- 
    Document   : index
    Created on : 16-dic-2011, 8.31.00
    Author     : Admin
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Library</h1>
            <form  name="addBook" action="BookServlet" METHOD="GET" />
                <input type="hidden" name="action" value="add"/>
                <input type="submit" name="submit" value="Add book"/>
            </form>
            <form  name="showBooks" action="BookServlet" METHOD="GET" />
                <input type="hidden" name="action" value="show"/>
                <input type="submit" name="submit" value="Show books in shelves"/>
            </form>
            <form  name="showAllBooks" action="BookServlet" METHOD="GET" />
                <input type="hidden" name="action" value="books"/>
                <input type="submit" name="submit" value="Show all books"/>
            </form>
    </body>
</html>
